import request from '@/utils/request'

// 查询档案盒进出记录详情列表
export function listArchiveBoxInoutdetail(query) {
  return request({
    url: '/archive/ArchiveBoxInoutdetail/list',
    method: 'get',
    params: query
  })
}

// 查询档案盒进出记录详情详细
export function getArchiveBoxInoutdetail(id) {
  return request({
    url: '/archive/ArchiveBoxInoutdetail/' + id,
    method: 'get'
  })
}

// 新增档案盒进出记录详情
export function addArchiveBoxInoutdetail(data) {
  return request({
    url: '/archive/ArchiveBoxInoutdetail',
    method: 'post',
    data: data
  })
}

// 修改档案盒进出记录详情
export function updateArchiveBoxInoutdetail(data) {
  return request({
    url: '/archive/ArchiveBoxInoutdetail',
    method: 'put',
    data: data
  })
}

// 删除档案盒进出记录详情
export function delArchiveBoxInoutdetail(id) {
  return request({
    url: '/archive/ArchiveBoxInoutdetail/' + id,
    method: 'delete'
  })
}
